* {
    margin: 0;
    padding: 0;
}

.top {
    background-image: url("../img/banner_qtah.jpg");
    height: 808px;
    background-repeat: no-repeat;
    /*background-size 宽度 高度*/
    background-size: 100% 100%;
}

.logo {
    height: 141px;
    width: 1000px;
    /*
    margin 外边距
    padding: 内边距;
    一个参数 四周 margin: auto;
    2个参数  上下  左右  margin: 50px   20px;
    3个参数   margin: 上20px  右左30px  下40px;
    四个参数  上右下左
    */
    margin: auto;
    /*border: 1px solid red;*/
    color: white;
}

.logo > div:first-child {
    height: 141px;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.logo > div:first-child {
    /*浮动*/
    float: left;
}

.logo > div:nth-child(2) {
    float: right;
    height: 141px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo > div:nth-child(2) > div:first-child {
    margin-right: 10px;
}

/*.logo .floatRight {*/
/*    line-height: 141px;*/
/*}*/

/*.logo .floatLeft {*/
/*    margin-top: 55px;*/
/*}*/
/*----------------------导航-------------------------------*/
.nav {
    /*margin: 0 auto;*/
    height: 50px;
    /*width: 1000px;*/
    /*border: 1px solid red;*/
    background-color: #e69137;
}

.nav > div {
    margin: 0 auto;
    /*border: 1px solid red;*/
    width: 1000px;
    height: 50px;
}

.nav > div div {
    float: left;
    line-height: 50px;
    padding: 0 20px;
    color: white;
}

.nav > div div:hover {
    background-color: skyblue;
}

.nav ul {
    margin: 0 auto;
    border: 1px solid red;
    width: 1000px;
    height: 50px;
    list-style: none;
}

.nav ul li {
    float: left;
    line-height: 50px;
    padding: 0 20px;
    color: white;
}

/*----------------------广告---------------------------*/
.ad {
    width: 1000px;
    height: 500px;
    margin: 0 auto;
    /*border: 1px solid red;*/
    color: white;
}

.ad > div:first-child {
    font-size: 50px;
    margin: 80px 0 40px;
}

.ad > div:nth-child(2) > div {
    margin: 10px 0;
}

.ad > div:nth-child(3) > div:first-child {
    display: flex;
    /*居左*/
    justify-content: left;
    /*下边对其*/
    align-items: flex-end;
}

.ad > div:nth-child(3) {
    color: #e69137;
    font-size: 30px;
}

/*odd奇数，even偶素*/
.ad > div:nth-child(3) > div:first-child div:nth-child(odd) {
    color: white;
    font-size: 20px;
}

.ad > div:nth-child(3) > div:nth-child(2) {
    /*缩进*/
    text-indent: 1.4em;
}
